<template>
	<view class="container">
		<es-cell-list margin-top="30rpx">
			<es-cell-item title="电子名片" @click="toPage('/pages/template/business-card/index')"></es-cell-item>
		</es-cell-list>
		<es-cell-list margin-top="30rpx">
			<es-cell-item title="APP登录" @click="toPage('/pages/template/login/login')"></es-cell-item>
		</es-cell-list>
	</view>
</template>

<script>
	export default {
		onShareTimeline() {
			return {
				title: 'Edison组件库',
				imageUrl: "/static/images/logo.png",
			}
		},
		onShareAppMessage() {
			return {
				title: 'Edison组件库',
				imageUrl: "/static/images/logo.png",
			}
		},
		methods:{
			toPage(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style>
</style>